package test;

import java.util.Map;

public class Data {
	private String title;
	private String icon;

	public Data(String title, String icon) {
		super();
		this.title = title;
		this.icon = icon;
	}

	public Data(Map<String, String> dataMap) {
		super();
		this.title = dataMap.get("title");
		this.icon = dataMap.get("icon");
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

}
